package cn.stylefeng.guns.modular.school.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.school.entity.ClassTeacherLession;
import cn.stylefeng.guns.modular.school.model.params.ClassTeacherLessionParam;
import cn.stylefeng.guns.modular.school.model.result.ClassTeacherLessionResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 班级教师课程关系 服务类
 * </p>
 *
 * @author 
 * @since 2019-12-01
 */
public interface ClassTeacherLessionService extends IService<ClassTeacherLession> {

    /**
     * 新增
     *
     * @author 
     * @Date 2019-12-01
     */
    void add(ClassTeacherLessionParam param);

    /**
     * 删除
     *
     * @author 
     * @Date 2019-12-01
     */
    void delete(ClassTeacherLessionParam param);

    /**
     * 更新
     *
     * @author 
     * @Date 2019-12-01
     */
    void update(ClassTeacherLessionParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author 
     * @Date 2019-12-01
     */
    ClassTeacherLessionResult findBySpec(ClassTeacherLessionParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author 
     * @Date 2019-12-01
     */
    List<ClassTeacherLessionResult> findListBySpec(ClassTeacherLessionParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author 
     * @Date 2019-12-01
     */
     LayuiPageInfo findPageBySpec(ClassTeacherLessionParam param);

     // 查找当前登录教师的授课班级
     List<ClassTeacherLessionResult> findCurrentUserClass();
     List<ClassTeacherLession> findByTeacherId(ClassTeacherLessionParam param);
}
